package com.tanhua.bg;

import com.tanhua.bg.service.VideoCheckService;

import com.tanhua.bg.vo.PageResult;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest
public class testVideo {
    @Autowired
    private VideoCheckService videoService;

    @Test
    public void Test() {
        PageResult pageResult = this.videoService.queryVideoList(1, 5, "1","likeCount","ascending");
        System.out.println(pageResult);
    }
}
